package com.freight.msg.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freight.core.entity.User;
import com.freight.msg.entity.MessageSend;
import com.freight.msg.entity.MsgCustCategory;
import com.freight.msg.entity.MsgCustMess;
import org.apache.ibatis.annotations.Param;

public interface MsgComplainTypesMapper {

    String getMessageSendNum(@Param("user") User user);

    String getMessageSendNumAdmin(@Param("user") User user);

    MessageSend getNewMessageNotice(@Param("userId") Long userId);

    MessageSend getNewMessageSend(@Param("userId") Long userId);

    Page<MsgCustCategory> getMsgCustCategoryList(Page<MsgCustCategory> page);

    Page<MsgCustMess> getMsgCustMessIdList(Long msgCustCategoryId, Page<MsgCustMess> page);

}
